import { api } from './request'

const requestApi = {
  queryShipReportList: '/shipReport/queryShipReportList', // 船舶台账-列表
  queryShipReportListStatistics: '/shipReport/queryShipReportListStatistics', // 船舶台账-统计
  queryContainerReportList: '/containerReport/queryContainerReportList', // 集装箱台账-列表查询
  queryReceivableReportList: '/containerReport/queryReceivableReportList', // 应收报表
  queryOperatingReportList: '/containerReport/queryOperatingReportList', // 运营报表-列表查询
  queryOperatingReportListStatistics: '/containerReport/queryOperatingReportListStatistics', // 运营报表-统计
  queryOperatingReportDetailListStatistics: '/containerReport/queryOperatingReportDetailListStatistics', // 运营报表-详情-统计
  queryOperatingReportDetailList: '/containerReport/queryOperatingReportDetailList', // 运营报表-详情-列表
  queryContainerThroughPut: '/containerReport/queryContainerThroughPut', // 佳华数据BI-集装箱吞吐量
  queryContainerOrderReport: '/containerReport/queryContainerOrderReport', // 佳华数据BI-订单维度
  queryContainerShipReport: '/containerReport/queryContainerShipReport', // 佳华数据BI-船舶维度
  queryContainerReportListStatistics: '/containerReport/queryContainerReportListStatistics', // 集装箱台账-列表统计
  queryContainerBusinessReportList: '/containerReport/queryContainerBusinessReportList', // 集装箱业务报表-列表查询
  queryContainerThroughPutDetail: '/containerReport/queryContainerThroughPutDetail', // 佳华数据BI-集装箱吞吐量-详情

  // 佳特数据BI
  queryJTBillRevenue: '/truckReport/queryJTBillRevenue',
  queryBIRevenueCurve: '/truckReport/queryBIRevenueCurve',
  queryJTOrderRate: '/truckReport/queryJTOrderRate',

  queryJTReportList: '/truckReport/queryJTReportList', // 佳特数据BI-佳特台账
  queryJTBusinessReportList: '/truckReport/queryJTBusinessReportList', // 佳特业务报表

  // 佳特年度指标
  queryTargetJiateByYear: '/truckReport/queryTargetJiateByYear',
  queryTargetJiateList: '/truckReport/queryTargetJiateList',
  addTargetJiate: '/truckReport/addTargetJiate',
  queryTargetJiateDetail: '/truckReport/queryTargetJiateDetail',
  queryJTReportInfo: '/truckReport/queryJTReportInfo', // 佳特数据BI-报表明细
  queryJTReportSum: '/truckReport/queryJTReportSum', // 佳特数据BI-报表明细汇总
  queryJTReceivableBillList: '/truckReport/queryJTReceivableBillList', // 佳特数据BI-应收报表
  queryJTReceivableBill: '/truckReport/queryJTReceivableBill', // 佳特数据BI-应收报表详情

  queryBIBusinessRevenue: '/companyReport/queryBIBusinessRevenue', // 总BI-业务营收
  queryBIContainerCount: '/companyReport/queryBIContainerCount', // 总BI-箱量统计
  queryBITransportData: '/companyReport/queryBITransportData', // 总BI-运输数据统计
  queryBICapitalFlow: '/companyReport/queryBICapitalFlow', // 总BI-资金流水费用类型
  queryBICapitalFixed: '/companyReport/queryBICapitalFixed', // 总BI-固定资产
  queryBIProfitReport: '/companyReport/queryBIProfitReport', // 总BI-集团利润报表
  queryCompanyCapitalAccountList: '/bill/queryCompanyCapitalAccountList', // 总BI-查询集团资金账户
  queryContainerBusinessReportStatistics: '/containerReport/queryContainerBusinessReportStatistics', // 集装箱业务报表-列表统计
  queryNoCheckReceivableReportDetailList: '/containerReport/queryNoCheckReceivableReportDetailList', // 应收报表-详情-未对账
  queryCheckedReceivableReportDetailList: '/containerReport/queryCheckedReceivableReportDetailList', // 应收报表-详情-已对账

  // 佳创
  queryShipBusinessReportList: '/shipReport/queryShipBusinessReportList', // 佳创业务报表-列表
  queryShipBusinessReportStatistics: '/shipReport/queryShipBusinessReportStatistics', // 佳创业务报表-统计
  jcQueryReceivableReportList: '/shipReport/queryReceivableReportList', // 应收报表
  jcQueryCheckedReceivableReportDetailList: '/shipReport/queryCheckedReceivableReportDetailList', // 应收报表-详情-已对账
  jcQueryNoCheckReceivableReportDetailList: '/shipReport/queryNoCheckReceivableReportDetailList', // 应收报表-详情-未对账



  // 导入
  getCustomerByName: '/bill/getCustomerByName' // 佳华订单—查询结算对象

}

export default requestApi

// 导入
export const getCustomerByName = (data) => api(requestApi.getCustomerByName, data)
//
export const queryShipReportList = (data) => api(requestApi.queryShipReportList, data)
export const queryShipReportListStatistics = (data) => api(requestApi.queryShipReportListStatistics, data)
export const queryContainerReportList = (data) => api(requestApi.queryContainerReportList, data)
export const queryReceivableReportList = (data) => api(requestApi.queryReceivableReportList, data)
export const queryOperatingReportList = (data) => api(requestApi.queryOperatingReportList, data)
export const queryOperatingReportListStatistics = (data) => api(requestApi.queryOperatingReportListStatistics, data)
export const queryContainerBusinessReportList = (data) => api(requestApi.queryContainerBusinessReportList, data)
export const queryOperatingReportDetailListStatistics = (data) => api(requestApi.queryOperatingReportDetailListStatistics, data)
export const queryOperatingReportDetailList = (data) => api(requestApi.queryOperatingReportDetailList, data)

export const queryContainerThroughPut = (data) => api(requestApi.queryContainerThroughPut, data)
export const queryContainerOrderReport = (data) => api(requestApi.queryContainerOrderReport, data)
export const queryContainerShipReport = (data) => api(requestApi.queryContainerShipReport, data)

export const queryJTReportList = (data) => api(requestApi.queryJTReportList, data)

export const queryJTBillRevenue = (data) => api(requestApi.queryJTBillRevenue, data)
export const queryBIRevenueCurve = (data) => api(requestApi.queryBIRevenueCurve, data)
export const queryJTOrderRate = (data) => api(requestApi.queryJTOrderRate, data)

export const queryTargetJiateByYear = (data) => api(requestApi.queryTargetJiateByYear, data)
export const queryTargetJiateList = (data) => api(requestApi.queryTargetJiateList, data)
export const addTargetJiate = (data) => api(requestApi.addTargetJiate, data)
export const queryTargetJiateDetail = (data) => api(requestApi.queryTargetJiateDetail, data)
export const queryJTReportInfo = (data) => api(requestApi.queryJTReportInfo, data)
export const queryJTReportSum = (data) => api(requestApi.queryJTReportSum, data)

// 总数据
export const queryBIBusinessRevenue = (data) => api(requestApi.queryBIBusinessRevenue, data)
export const queryBIContainerCount = (data) => api(requestApi.queryBIContainerCount, data)
export const queryBITransportData = (data) => api(requestApi.queryBITransportData, data)
export const queryBICapitalFlow = (data) => api(requestApi.queryBICapitalFlow, data)
export const queryBICapitalFixed = (data) => api(requestApi.queryBICapitalFixed, data)
export const queryBIProfitReport = (data) => api(requestApi.queryBIProfitReport, data)
export const queryCompanyCapitalAccountList = (data) => api(requestApi.queryCompanyCapitalAccountList, data)
export const queryContainerReportListStatistics = (data) => api(requestApi.queryContainerReportListStatistics, data)
// v1.2.0
export const queryContainerThroughPutDetail = (data) => api(requestApi.queryContainerThroughPutDetail, data)
export const queryContainerBusinessReportStatistics = (data) => api(requestApi.queryContainerBusinessReportStatistics, data)
export const queryNoCheckReceivableReportDetailList = (data) => api(requestApi.queryNoCheckReceivableReportDetailList, data)
export const queryCheckedReceivableReportDetailList = (data) => api(requestApi.queryCheckedReceivableReportDetailList, data)
export const queryJTBusinessReportList = (data) => api(requestApi.queryJTBusinessReportList, data)
export const queryJTReceivableBillList = (data) => api(requestApi.queryJTReceivableBillList, data)
export const queryShipBusinessReportList = (data) => api(requestApi.queryShipBusinessReportList, data)
export const queryShipBusinessReportStatistics = (data) => api(requestApi.queryShipBusinessReportStatistics, data)
export const jcQueryReceivableReportList = (data) => api(requestApi.jcQueryReceivableReportList, data)
export const jcQueryCheckedReceivableReportDetailList = (data) => api(requestApi.jcQueryCheckedReceivableReportDetailList, data)
export const jcQueryNoCheckReceivableReportDetailList = (data) => api(requestApi.jcQueryNoCheckReceivableReportDetailList, data)
export const queryJTReceivableBill = (data) => api(requestApi.queryJTReceivableBill, data)
